UNPKG

@pietervdwerk/auth-astro

Version:

Auth Astro is the easiest way to add Authentication to your Astro Project. It wraps the core of [Auth.js](https://authjs.dev/) into an Astro integration which automatically adds the endpoints and handles everything else.

4 lines (2 loc) 83 B
import { AstroAuth } from '../../server' export const { get, post } = AstroAuth()